package com.wangtao.firstapp.modles;

import java.util.List;

/**
 * Created by lanouhn on 16/9/14.
 */
public class AllEssayData {


    /**
     * status : 1
     * msg : 成功
     * ts : 1473822449
     * data : [{"id":"10746","type":"2","type_id":"1","title":"祛痘小助手","subtitle":"","pic":"","is_show_like":true,"is_recommend":false,"create_time_str":"09月04日","desc":"长痘妹子真的会很自信，甚至自卑。我自己就是这么回事，一直在祛痘路上不止息。推荐一些自己正在用的祛痘，痘印的护肤品。","comments":"11","views":"789","user":{"user_id":"459083","nickname":"别走","avatar":"http://7te7t9.com2.z0.glb.qiniucdn.com/000/45/90/83.jpg","is_official":0,"attention_type":0},"pics":[{"url":"http://pic1.bantangapp.com/topic/201609/04/49999910_459083_3.jpg!300x300"},{"url":"http://pic1.bantangapp.com/topic/201609/04/49999910_459083_1.jpg!300x300"},{"url":"http://pic1.bantangapp.com/topic/201609/04/49999910_459083_2.jpg!300x300"}]}]
     */

    private String status;
    private String msg;
    private int ts;
    /**
     * id : 10746
     * type : 2
     * type_id : 1
     * title : 祛痘小助手
     * subtitle :
     * pic :
     * is_show_like : true
     * is_recommend : false
     * create_time_str : 09月04日
     * desc : 长痘妹子真的会很自信，甚至自卑。我自己就是这么回事，一直在祛痘路上不止息。推荐一些自己正在用的祛痘，痘印的护肤品。
     * comments : 11
     * views : 789
     * user : {"user_id":"459083","nickname":"别走","avatar":"http://7te7t9.com2.z0.glb.qiniucdn.com/000/45/90/83.jpg","is_official":0,"attention_type":0}
     * pics : [{"url":"http://pic1.bantangapp.com/topic/201609/04/49999910_459083_3.jpg!300x300"},{"url":"http://pic1.bantangapp.com/topic/201609/04/49999910_459083_1.jpg!300x300"},{"url":"http://pic1.bantangapp.com/topic/201609/04/49999910_459083_2.jpg!300x300"}]
     */

    private List<DataBean> data;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTs() {
        return ts;
    }

    public void setTs(int ts) {
        this.ts = ts;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private String id;
        private String type;
        private String type_id;
        private String title;
        private String subtitle;
        private String pic;
        private boolean is_show_like;
        private boolean is_recommend;
        private String create_time_str;
        private String desc;
        private String comments;
        private String views;
        /**
         * user_id : 459083
         * nickname : 别走
         * avatar : http://7te7t9.com2.z0.glb.qiniucdn.com/000/45/90/83.jpg
         * is_official : 0
         * attention_type : 0
         */

        private UserBean user;
        /**
         * url : http://pic1.bantangapp.com/topic/201609/04/49999910_459083_3.jpg!300x300
         */

        private List<PicsBean> pics;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getType_id() {
            return type_id;
        }

        public void setType_id(String type_id) {
            this.type_id = type_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getSubtitle() {
            return subtitle;
        }

        public void setSubtitle(String subtitle) {
            this.subtitle = subtitle;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public boolean isIs_show_like() {
            return is_show_like;
        }

        public void setIs_show_like(boolean is_show_like) {
            this.is_show_like = is_show_like;
        }

        public boolean isIs_recommend() {
            return is_recommend;
        }

        public void setIs_recommend(boolean is_recommend) {
            this.is_recommend = is_recommend;
        }

        public String getCreate_time_str() {
            return create_time_str;
        }

        public void setCreate_time_str(String create_time_str) {
            this.create_time_str = create_time_str;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getComments() {
            return comments;
        }

        public void setComments(String comments) {
            this.comments = comments;
        }

        public String getViews() {
            return views;
        }

        public void setViews(String views) {
            this.views = views;
        }

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public List<PicsBean> getPics() {
            return pics;
        }

        public void setPics(List<PicsBean> pics) {
            this.pics = pics;
        }

        public static class UserBean {
            private String user_id;
            private String nickname;
            private String avatar;
            private int is_official;
            private int attention_type;

            public String getUser_id() {
                return user_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public int getIs_official() {
                return is_official;
            }

            public void setIs_official(int is_official) {
                this.is_official = is_official;
            }

            public int getAttention_type() {
                return attention_type;
            }

            public void setAttention_type(int attention_type) {
                this.attention_type = attention_type;
            }
        }

        public static class PicsBean {
            private String url;

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }
    }
}
